package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.FlightCity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlightCityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FlightCity record);

    FlightCity selectByPrimaryKey(Long id);

    List<FlightCity> selectAll();

    int updateByPrimaryKey(FlightCity record);

    List<FlightCity> selectHotCity();

    List<FlightCity> selectCity(@Param("statWord") String statWord, @Param("endWord") String endWord);
}